package com.example.designpartten.visit;

import lombok.Data;

/**
 * @author hql
 * @date 2020/4/16 11:09
 */
@Data
public abstract class Employee {

    private String name;

    private int sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public abstract void report();

    public abstract void visit(IVisit visit);
}
